Skip to main content
GET
/
audiences
/
attributes
Get multiple audience attributes
curl --request GET \
  --url https://your_a2_service/audiences/attributes \
  --header 'Authorization: Bearer <token>'
[
  {
    "code": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "no": 123,
    "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "value_count": 123,
    "visibility": "public",
    "created_at": "2023-11-07T05:31:56Z",
    "description": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

owner_id
string<uuid> | null

Response

Successful Response

code
string
required

Code representing the audience attribute.

This code serves as a key for properties in both AudienceSegment and Audience.

Required string length: 1 - 32
id
string<uuid>
required
name
string
required

Name of the audience attribute

no
integer
required
owner_id
string<uuid>
required

Owner ID of the audience attribute

value_count
integer
required

The number of the possible values of audience attribute

visibility
enum<string>
required

Visibility of the audience attribute

Available options:
public,
private
created_at
string<date-time> | null

The date and time the entity was created.

description
string | null

Description of the audience attribute

updated_at
string<date-time> | null

The date and time the entity was last updated.